package com.gg.douyin.sdk.bean.param;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Builder;
import lombok.Data;

/**
 * @author guiguan
 * @date 2019/12/10 9:52
 */
@Data
@Builder
public class GetAccessToken {

    /**
     * 应用唯一标识
     */
    @JSONField(name = "client_key")
    private String clientKey;

    /**
     * 应用唯一标识对应的密钥
     */
    @JSONField(name = "client_secret")
    private String clientSecret;

    /**
     * 授权码
     */
    @JSONField(name = "code")
    private String code;

    /**
     * 写死"authorization_code"即可
     */
    @JSONField(name = "grant_type")
    private String grantType;
}
